package conductor

import (
    "cing.io/cing/internal/config"
    "context"
)

func Init(ctx context.Context) {
    if config.LocalTest {
        go LeaderBehavior(ctx)
    } else {
        go LeaderElection(ctx)
    }
}
